package com.fanghuaman.model.common.emus;

/**
 * @author shiminghui
 * @date 2024/11/24 15:27
 * @description: TODO
 */
public enum HttpEmus {
    SUCCESS(200,"成功"),
    PARAM_ERROR(400,"参数错误"),
    UNAUTHORIZED(401, "未登录"),
    FAIL(500,"失败");

    private final Integer code;
    private final String msg;

    private HttpEmus(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
